package edu.lnu.ums.entities;

import edu.lnu.ums.entities.processes.PostgraduateWork;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
public class Postgraduate extends Studying {
    private static final long serialVersionUID = 1L;

    @Column
    @Temporal(TemporalType.DATE)
    private Date graduationDate;

    public Date getGraduationDate() {
        return graduationDate;
    }

    public void setGraduationDate(Date graduationDate) {
        this.graduationDate = graduationDate;
    }

     public Class<?> getScientificWorkClass() {
        return PostgraduateWork.class;
    }
}
